写日志时怎么格式化代码

能不能够语法高亮显示。 显示成下面这个样子(类似于eclipse的样子): 发件人 snapshoot 使用wp-syntax来标记: http://www.c2cer.com/20081128/wp-syntax-plugins-code/ 参考这来实现一键插入: 编辑:\wp-includes\js\quicktags.js 发件人 snapshoot 代码中加入: 发件人 snapshoot package com.qisda.weather; import android.app.Activity; import android.os.Bundle; import android.view.*; import android.view.View.OnFocusChangeListener; import android.view.View.OnTouchListener; import android.widget.ImageView; public class weatherUI extends Activity implements OnTouchListener { /** Called when the activity … Continue reading 写日志时怎么格式化代码